package com.liyuan.yiqixing.service;

import com.liyuan.yiqixing.model.Signup;

public interface SignupService {
    Integer checkIsAlreadySignup(Integer id, Integer itemId);

    void signup(Integer userId, Integer itemId, Integer hostelId);

    Signup[] retrieveSignupInfos(Integer userId);

    Signup[] retrieveSignupInfosByHostelId(Integer id);

    void updateSignupStatusToNotAccept(Integer signupId);

    void updateSignupStatusToAccept(Integer signupId);

}
